<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Calculatrice polonais inversé LO21:  Fichier source de /home/yuntux/UTC/GI02/LO21/projet/projet_propre/mainwindow.h</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Calculatrice polonais inversé LO21
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/yuntux/UTC/GI02/LO21/projet/projet_propre/mainwindow.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mainwindow_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef MAINWINDOW_H</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define MAINWINDOW_H</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;QMainWindow&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;QStack&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &quot;<a class="code" href="pile_8h.html">pile.h</a>&quot;</span>
<a name="l00020"></a><a class="code" href="mainwindow_8h.html#a598a3330b3c21701223ee0ca14316eca">00020</a> <span class="preprocessor">#define PI 3.14159265</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a><a class="code" href="mainwindow_8h.html#ac57a15745dfbb2ebe6ba80230b7e5c6aae016078d0a68a6325ab6c0a3e53969b0">00022</a> <span class="keyword">enum</span> <a class="code" href="mainwindow_8h.html#ac57a15745dfbb2ebe6ba80230b7e5c6a">MesureAngle</a> { <a class="code" href="mainwindow_8h.html#ac57a15745dfbb2ebe6ba80230b7e5c6aaaaea1ab3c48044ff4c241e60aa12973e">degre</a>, <a class="code" href="mainwindow_8h.html#ac57a15745dfbb2ebe6ba80230b7e5c6aae016078d0a68a6325ab6c0a3e53969b0">radian</a>};
<a name="l00023"></a><a class="code" href="namespace_ui.html">00023</a> <span class="keyword">namespace </span>Ui {
<a name="l00024"></a>00024     <span class="keyword">class </span><a class="code" href="class_ui_1_1_main_window.html">MainWindow</a>;
<a name="l00025"></a>00025 }
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="comment">//Fonction outil =&gt; hors classe</span>
<a name="l00028"></a>00028 <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="mainwindow_8cpp.html#a108d15359aba86f26b1bb30e7d0fd505">stringToConstante</a>(QString s, <span class="keywordtype">bool</span> essayer_construire_complexe);
<a name="l00029"></a>00029 
<a name="l00030"></a><a class="code" href="class_main_window.html">00030</a> <span class="keyword">class </span><a class="code" href="class_main_window.html">MainWindow</a> : <span class="keyword">public</span> QMainWindow
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032     Q_OBJECT
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="keyword">protected</span>:
<a name="l00035"></a>00035     <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a4e20a4a065fbb0e4d3532a45a0a91425">closeEvent</a>(QCloseEvent *event);
<a name="l00036"></a>00036 <span class="keyword">private</span>:
<a name="l00037"></a>00037     <span class="keywordtype">void</span> loadFromFile();
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="keyword">public</span>:
<a name="l00040"></a>00040     <span class="keyword">explicit</span> <a class="code" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a>(QWidget *parent = 0);
<a name="l00041"></a>00041     <span class="keywordtype">bool</span> <a class="code" href="class_main_window.html#aa9bae53abcb888f5e8cda8aa654e50e5">dernier_element_expression</a>(QString chaine);
<a name="l00042"></a>00042     <a class="code" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a>();
<a name="l00043"></a>00043     <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a5820c5fa916142942adc9984c434793e">traiter_bloc_expression</a>(QString s);
<a name="l00044"></a>00044     <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a1ccb4aa361ba5710af1ee09263a994fe">traiter_bloc_calcul</a>(QString s);
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 <span class="keyword">public</span> slots:
<a name="l00048"></a>00048    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ab623e042d0384fce67ee67b86aa092ab">POWClicked</a>();
<a name="l00049"></a>00049    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a694058b9993bdad7bf4c96b7bae1af37">SINClicked</a>();
<a name="l00050"></a>00050    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#acc7b69effe16bf3936be897b1e9697a2">COSClicked</a>();
<a name="l00051"></a>00051    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#abd6beb62d32cc0922fd78819e3c4a9cd">TANClicked</a>();
<a name="l00052"></a>00052    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ae18b7a59154a29d9166dae53a02da0cd">SINHClicked</a>();
<a name="l00053"></a>00053    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ae0cb839c1a84f68cfe7d55d75679bf32">COSHClicked</a>();
<a name="l00054"></a>00054    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a9674367d1b35c2b7fcb37547982c7142">TANHClicked</a>();
<a name="l00055"></a>00055    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a4edf9a5fcb637c43e2d4d4e107fd0c62">MODClicked</a>();
<a name="l00056"></a>00056    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#aada810f5e314c0180e159729f1af13f5">SIGNClicked</a>();
<a name="l00057"></a>00057    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a16e852b776efdec4876c32f0fb56a5b0">LNClicked</a>();
<a name="l00058"></a>00058    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a0e9e909347465ac2945668a5229c4688">LOGClicked</a>();
<a name="l00059"></a>00059    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a254c2a0ab491f878157d6abb8d4a8381">INVClicked</a>();
<a name="l00060"></a>00060    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ad6048a7bb41b1e0ac37bb1f05e458cc8">SQRClicked</a>();
<a name="l00061"></a>00061    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a40ff97255a9f62068bf20312468060dd">SQRTClicked</a>();
<a name="l00062"></a>00062    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a7e0ee20d8b3f6c4638ddced7d894c595">CUBEClicked</a>();
<a name="l00063"></a>00063    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#aa3cc15e4ab21e8d1d02b2c908f7ed955">QUOTEClicked</a>();
<a name="l00064"></a>00064    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#acd5bbd32604f72b223e69a58088ddabd">CClicked</a>();
<a name="l00065"></a>00065    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a1a093a266d6f67c63e27b410de323e3f">CEClicked</a>();
<a name="l00066"></a>00066    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#adc9d3f1638131c5d291c54380fda801f">DOLLARClicked</a>();
<a name="l00067"></a>00067    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ab408f985cff16c7d939d48cfa3d5f0b1">num0Clicked</a>();
<a name="l00068"></a>00068    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a538b702a2feed14f756f9fff0a53d2f5">num1Clicked</a>();
<a name="l00069"></a>00069    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a857a81084ff261633c9896f24bdd6fb5">num2Clicked</a>();
<a name="l00070"></a>00070    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#aaf2e8e4cdcabb0c9cd2496e662038b64">num3Clicked</a>();
<a name="l00071"></a>00071    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a6d79c0dc7b05f66d0dd2d5eb57d870a2">num4Clicked</a>();
<a name="l00072"></a>00072    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a9dfa9a2ba4c04d27047f1b6cf50eb309">num5Clicked</a>();
<a name="l00073"></a>00073    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ae581f160bb58ff7b92fb10488dad1cb7">num6Clicked</a>();
<a name="l00074"></a>00074    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ae34dccd3c4bdff6452250ec4807977e4">num7Clicked</a>();
<a name="l00075"></a>00075    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ab86f29d78da5c85373b2126cdbfadf78">num8Clicked</a>();
<a name="l00076"></a>00076    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a48cd898abe91cf0b7784dfce7258b8f6">num9Clicked</a>();
<a name="l00077"></a>00077    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a5c1743c01e8cf19b5b0e678a09734363">PIBOUTONClicked</a>();
<a name="l00078"></a>00078    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a96f5509a262bda1ee40ceaddb081bff6">POINTClicked</a>();
<a name="l00079"></a>00079    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a4f3a33c651ac011d7a4ee62f70c88e44">ESPACEClicked</a>();
<a name="l00080"></a>00080    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a97ac3886016cc9dc1cc7ae1be4abac65">FACTORIELClicked</a>();
<a name="l00081"></a>00081    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a7babfc70d1010ea3e7efe67b788e0ec5">ADDITIONNERClicked</a>();
<a name="l00082"></a>00082    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#aef8aa8858f4a280f6da4ef6f6b4cf208">SOUSTRAIREClicked</a>();
<a name="l00083"></a>00083    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a0fe4c051d0deac4c5eec64a6cd3d3682">MULTIPLIERClicked</a>();
<a name="l00084"></a>00084    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a785abff91c01b674c3b795dc289ae629">DIVISERClicked</a>();
<a name="l00085"></a>00085    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a0056914c89217bbef8879ccae4466e28">_clavierBasicStateChange</a>(<span class="keywordtype">int</span>);
<a name="l00086"></a>00086    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a9200740951f715069c9f2bc7809f6e07">_clavierAvanceStateChange</a>(<span class="keywordtype">int</span>);
<a name="l00087"></a>00087    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a6febb02daee1abb1c9c0d0f9d190b25c">_modComplexeONClicked</a>(<span class="keywordtype">bool</span>);
<a name="l00088"></a>00088    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a85b97292e1728650fc34d989170a0886">_modComplexeOFFClicked</a>(<span class="keywordtype">bool</span>);
<a name="l00089"></a>00089    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ae1cb8b4b1f79083accb25c66e6847abc">_modRadiansToggled</a>(<span class="keywordtype">bool</span>);
<a name="l00090"></a>00090    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#aa181a30bc86fd676299a828b6806fff7">_modDegresToggled</a>(<span class="keywordtype">bool</span>);
<a name="l00091"></a>00091    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a29e8205bc963cebba7a96f94f4d3c40f">_modReel</a>(<span class="keywordtype">bool</span>);
<a name="l00092"></a>00092    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#af8e967129145a378e37fc2ff4eb1379c">_modRationnel</a>(<span class="keywordtype">bool</span>);
<a name="l00093"></a>00093    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a05cfdc8bf99fa145e67ce4d9eed03f20">_modEntier</a>(<span class="keywordtype">bool</span>);
<a name="l00094"></a>00094 
<a name="l00095"></a>00095    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#abc93f16a699c5df5e5aedd67e1ad7e92">retablirClicked</a>();
<a name="l00096"></a>00096    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ad796f3d5c13e4ed2ea90e17aa0a3d7a8">annulerClicked</a>();
<a name="l00097"></a>00097    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a0ae0ae526c8fcc96c7f32fc3b3727224">ENTERClicked</a>();
<a name="l00098"></a>00098    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a2472c42b862ef1dc38b75c4111a28590">EVALClicked</a>();
<a name="l00099"></a>00099    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a164eb394f8581e1f80fba559bcc3d2e5">vider_pileClicked</a>();
<a name="l00100"></a>00100    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a10bc645984994b33d7176946fc06eff2">supprimer_tete_pileClicked</a>();
<a name="l00101"></a>00101    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#a4d771b6ac11d2280aa5e45e4d47a2011">dupliquer_tete_pileClicked</a>();
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 <span class="keyword">private</span>:
<a name="l00104"></a>00104     <a class="code" href="class_ui_1_1_main_window.html">Ui::MainWindow</a> *ui;
<a name="l00105"></a>00105 };
<a name="l00106"></a>00106 
<a name="l00107"></a>00107 <span class="preprocessor">#endif // MAINWINDOW_H</span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Samedi Juin 16 2012 23:51:37 pour Calculatrice polonais inversé LO21 par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
